package com.magicborrow.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ghost on 16/5/11.
 */
public class StuffListBean implements Serializable {


    /**
     * code : 0
     * data : {"content":[{"address":"北京","box":1,"created":"2016-05-10 13:40","deleted":0,"deposit":500,"description":"尼康D810是一款高端单反，有效像素：3638万，","id":4,"images":[{"created":1462858823000,"height":251,"id":7,"origin":"/store/origin//2016/0510/10134023cizw.jpg","preview":"/store/thumbs//2016/0510/10134023lc4q.jpg","targetId":4,"width":268}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"尼康D810","price":50,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:37","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"},{"created":"2016-05-10 11:37","grayIcon":"/store/thumbs/2016/0511/111124420d1m.png","icon":"/store/thumbs/2016/0511/11112442oq0r.png","id":8,"name":"道具服装"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:33","gender":1,"id":2,"lat":0,"lendScale":0,"lendTimes":0,"lon":0,"mobile":"13800138000","nickname":"m13800138000","password":"123456","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:33"}},{"address":"北京","box":1,"created":"2016-05-10 13:37","deleted":0,"deposit":1000,"description":"投影仪，又称投影机，是一种可以将图像或视频投射到幕布上的设备，可以通过不同的接口同计算机、VCD、DVD、BD、游戏机、DV等相连接播放相应的视频信号。投影仪广泛应用于家庭、办公室、学校和娱乐场所，根据工作方式不同，有CRT，LCD，DLP等不同类型。","id":3,"images":[{"created":1462858675000,"height":447,"id":5,"origin":"/store/origin//2016/0510/10133755eudx.jpg","preview":"/store/thumbs//2016/0510/10133755d0a5.jpg","targetId":3,"width":450},{"created":1462858675000,"height":641,"id":6,"origin":"/store/origin//2016/0510/101337554mnt.jpg","preview":"/store/thumbs//2016/0510/10133755w6ca.jpg","targetId":3,"width":1024}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"投影仪","price":50,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36","grayIcon":"/store/thumbs/2016/0511/11112521vwyq.png","icon":"/store/thumbs/2016/0511/11112521cwh5.png","id":5,"name":"阅读学习"},{"created":"2016-05-10 11:36","grayIcon":"/store/thumbs/2016/0511/11112501a52j.png","icon":"/store/thumbs/2016/0511/11112501me4y.png","id":6,"name":"才艺技能"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:33","gender":1,"id":2,"lat":0,"lendScale":0,"lendTimes":0,"lon":0,"mobile":"13800138000","nickname":"m13800138000","password":"123456","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:33"}},{"address":"北京","box":1,"created":"2016-05-10 13:36","deleted":0,"deposit":3000,"description":"礼服，是指在某些重大场合上参与者所穿着的庄重而且正式的服装。根据场合的不同，可以分作军礼服、晚礼服等。礼服造型精美，工艺精致。","id":2,"images":[{"created":1462858588000,"height":768,"id":3,"origin":"/store/origin//2016/0510/10133628yxqd.jpg","preview":"/store/thumbs//2016/0510/10133628yhgn.jpg","targetId":2,"width":1024},{"created":1462858588000,"height":800,"id":4,"origin":"/store/origin//2016/0510/10133628q3ny.jpg","preview":"/store/thumbs//2016/0510/10133628q2pw.jpg","targetId":2,"width":800}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"礼服","price":100,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36","grayIcon":"/store/thumbs/2016/0511/11112600ewl7.png","icon":"/store/thumbs/2016/0511/11112600h3yy.png","id":3,"name":"休闲游戏"},{"created":"2016-05-10 11:36","grayIcon":"/store/thumbs/2016/0511/111125463b1y.png","icon":"/store/thumbs/2016/0511/11112546oqzr.png","id":4,"name":"户外远足"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:32","gender":1,"id":1,"lat":0,"lendScale":0,"lendTimes":0,"lon":0,"mobile":"13811605753","nickname":"m13811605753","password":"123456","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:32"}}],"first":true,"last":false,"number":0,"numberOfElements":3,"size":3,"sort":null,"totalElements":4,"totalPages":2}
     * message : 操作成功
     */

    private int code;
    /**
     * content : [{"address":"北京","box":1,"created":"2016-05-10 13:40","deleted":0,"deposit":500,"description":"尼康D810是一款高端单反，有效像素：3638万，","id":4,"images":[{"created":1462858823000,"height":251,"id":7,"origin":"/store/origin//2016/0510/10134023cizw.jpg","preview":"/store/thumbs//2016/0510/10134023lc4q.jpg","targetId":4,"width":268}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"尼康D810","price":50,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:37","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"},{"created":"2016-05-10 11:37","grayIcon":"/store/thumbs/2016/0511/111124420d1m.png","icon":"/store/thumbs/2016/0511/11112442oq0r.png","id":8,"name":"道具服装"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:33","gender":1,"id":2,"lat":0,"lendScale":0,"lendTimes":0,"lon":0,"mobile":"13800138000","nickname":"m13800138000","password":"123456","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:33"}},{"address":"北京","box":1,"created":"2016-05-10 13:37","deleted":0,"deposit":1000,"description":"投影仪，又称投影机，是一种可以将图像或视频投射到幕布上的设备，可以通过不同的接口同计算机、VCD、DVD、BD、游戏机、DV等相连接播放相应的视频信号。投影仪广泛应用于家庭、办公室、学校和娱乐场所，根据工作方式不同，有CRT，LCD，DLP等不同类型。","id":3,"images":[{"created":1462858675000,"height":447,"id":5,"origin":"/store/origin//2016/0510/10133755eudx.jpg","preview":"/store/thumbs//2016/0510/10133755d0a5.jpg","targetId":3,"width":450},{"created":1462858675000,"height":641,"id":6,"origin":"/store/origin//2016/0510/101337554mnt.jpg","preview":"/store/thumbs//2016/0510/10133755w6ca.jpg","targetId":3,"width":1024}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"投影仪","price":50,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36","grayIcon":"/store/thumbs/2016/0511/11112521vwyq.png","icon":"/store/thumbs/2016/0511/11112521cwh5.png","id":5,"name":"阅读学习"},{"created":"2016-05-10 11:36","grayIcon":"/store/thumbs/2016/0511/11112501a52j.png","icon":"/store/thumbs/2016/0511/11112501me4y.png","id":6,"name":"才艺技能"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:33","gender":1,"id":2,"lat":0,"lendScale":0,"lendTimes":0,"lon":0,"mobile":"13800138000","nickname":"m13800138000","password":"123456","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:33"}},{"address":"北京","box":1,"created":"2016-05-10 13:36","deleted":0,"deposit":3000,"description":"礼服，是指在某些重大场合上参与者所穿着的庄重而且正式的服装。根据场合的不同，可以分作军礼服、晚礼服等。礼服造型精美，工艺精致。","id":2,"images":[{"created":1462858588000,"height":768,"id":3,"origin":"/store/origin//2016/0510/10133628yxqd.jpg","preview":"/store/thumbs//2016/0510/10133628yhgn.jpg","targetId":2,"width":1024},{"created":1462858588000,"height":800,"id":4,"origin":"/store/origin//2016/0510/10133628q3ny.jpg","preview":"/store/thumbs//2016/0510/10133628q2pw.jpg","targetId":2,"width":800}],"lat":1.11,"lendMode":1,"lon":1.11,"name":"礼服","price":100,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36","grayIcon":"/store/thumbs/2016/0511/11112600ewl7.png","icon":"/store/thumbs/2016/0511/11112600h3yy.png","id":3,"name":"休闲游戏"},{"created":"2016-05-10 11:36","grayIcon":"/store/thumbs/2016/0511/111125463b1y.png","icon":"/store/thumbs/2016/0511/11112546oqzr.png","id":4,"name":"户外远足"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:32","gender":1,"id":1,"lat":0,"lendScale":0,"lendTimes":0,"lon":0,"mobile":"13811605753","nickname":"m13811605753","password":"123456","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:32"}}]
     * first : true
     * last : false
     * number : 0
     * numberOfElements : 3
     * size : 3
     * sort : null
     * totalElements : 4
     * totalPages : 2
     */

    private DataEntity data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataEntity implements Serializable {
        private boolean first;
        private boolean last;
        private int number;
        private int numberOfElements;
        private int size;
        private Object sort;
        private int totalElements;
        private int totalPages;
        /**
         * address : 北京
         * box : 1
         * created : 2016-05-10 13:40
         * deleted : 0
         * deposit : 500
         * description : 尼康D810是一款高端单反，有效像素：3638万，
         * id : 4
         * images : [{"created":1462858823000,"height":251,"id":7,"origin":"/store/origin//2016/0510/10134023cizw.jpg","preview":"/store/thumbs//2016/0510/10134023lc4q.jpg","targetId":4,"width":268}]
         * lat : 1.11
         * lendMode : 1
         * lon : 1.11
         * name : 尼康D810
         * price : 50
         * priceMode : 2
         * status : 0
         * tags : [{"created":"2016-05-10 11:37","grayIcon":"/store/thumbs/2016/0511/11112452b6kw.png","icon":"/store/thumbs/2016/0511/111124510fu9.png","id":7,"name":"出行代步"},{"created":"2016-05-10 11:37","grayIcon":"/store/thumbs/2016/0511/111124420d1m.png","icon":"/store/thumbs/2016/0511/11112442oq0r.png","id":8,"name":"道具服装"}]
         * user : {"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":0,"borrowTimes":0,"city":"","cityId":0,"created":"2016-05-10 11:33","gender":1,"id":2,"lat":0,"lendScale":0,"lendTimes":0,"lon":0,"mobile":"13800138000","nickname":"m13800138000","password":"123456","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:33"}
         */

        private List<StuffBean> content;

        public boolean isFirst() {
            return first;
        }

        public void setFirst(boolean first) {
            this.first = first;
        }

        public boolean isLast() {
            return last;
        }

        public void setLast(boolean last) {
            this.last = last;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getNumberOfElements() {
            return numberOfElements;
        }

        public void setNumberOfElements(int numberOfElements) {
            this.numberOfElements = numberOfElements;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getSort() {
            return sort;
        }

        public void setSort(Object sort) {
            this.sort = sort;
        }

        public int getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(int totalElements) {
            this.totalElements = totalElements;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<StuffBean> getContent() {
            return content;
        }

        public void setContent(List<StuffBean> content) {
            this.content = content;
        }

    }

}
